package com.naiterui.ehp.bs.cms.modules.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.naiterui.ehp.bp.support.exception.BusinessException;
import com.naiterui.ehp.bs.cms.common.vo.PageParamsVO;
import com.naiterui.ehp.bs.cms.common.vo.PageVO;
import com.naiterui.ehp.bs.cms.modules.user.entity.Patient;
import com.naiterui.ehp.bs.cms.modules.user.vo.CaseDetailVO;
import com.naiterui.ehp.bs.cms.modules.user.vo.PatientDetailsVO;
import com.naiterui.ehp.bs.cms.modules.user.vo.PatientPageVO;

public interface IPatientService extends IService<Patient> {

  PageVO<PatientPageVO> queryPage(PageParamsVO pageParamsVO, PatientPageVO patientVO);

  PatientDetailsVO getPatientDetailsVO(Long patientId);

  void caseDownloadReport(String recordId, Integer type) throws BusinessException;

  CaseDetailVO caseDetail(PageParamsVO pageParamsVO, String recordId) throws BusinessException;
}
